using System;
using Mono.Unix.Native;

namespace Mehat.San.SanFS
{

	public interface IFile
	{
		void Release(FileHandle Handle);
		long Read(FileHandle Handle, byte[] Buffer, long Offset);
		void Flush(FileHandle Handle);
		void Open(FileHandle Handle);
		
		IVirtualMount	VMount {get;}
		System.Threading.Mutex Lock { get; }
		Stat Stat { get; set;}
		string Name { get; }
		Guid	Uuid { get; }
	}  // END INTERFACE
}  // END NAMESPACE
